package jym.tan.tmdb.bean;

import java.io.Serializable;

import com.google.gson.annotations.SerializedName;

public class SessionID implements Serializable {

	private static final long serialVersionUID = 8751836045018812129L;

	@SerializedName("session_id")
	private String sessionId;
	
	@SerializedName("success")
	private boolean success;
	
	public SessionID() {
		
	}

	public String getSessionId() {
		return sessionId;
	}

	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{").
			append("session_id:").append("\"").append(sessionId).append("\"").
			append(",").
			append("success:").append(success).
			append("}");
		return builder.toString();
	}
}
